package dao;
public class Emp {//数据载体
    private int id;
    private String name;
    private String sex;
    private String birthday;
    private int age;
    private int deptId;

    public Emp(){

    }
/*
    public Emp(int id, String name, String sex, String birthday, int age, int deptId) {
        super();
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.age = age;
        this.deptId = deptId;
    }
*/
    public Emp(  int deptId, String name, int age,String sex, String birthday ) {
        super();
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.age = age;
        this.deptId = deptId;
    }

/*
    public int getId() {
        return id;
    }
*/
    public String getName() {
        return name;
    }
/*
    public void setId(int id) {
        this.id = id;
    }
*/
    public void setName(String name) {
        this.name = name;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public String getSex() {

        return sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public int getAge() {
        return age;
    }

    public int getDeptId() {
        return deptId;
    }


}
